startbuffer
Command/ startcolumnset
Command/ startcomment
Command/ startdelimitedtext
Command/ startdescription
Command/ starteffect
Command/ startenumeration
Command/ startfittingpage
Command/ startfloattext
Command/ startformula
Command/ startframedtext
Command/ starthelp
Command/ start
this command can be used by people who want to transform the
output PDF into an audio file, because for instance the following
\usemodule[math-goodriddance]
\goodriddancemath
\starttext
\startformula
\int_{0}^{\pi} \sin(x)\dd x = 2.
\stopformula
\stoptext
gives
integral from 0 to 휋 , of sin
to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance]\goodriddancemath\starttext\startformula\int_{0}^{\pi} \sin(x)\dd x = 2.\stopformula\stoptextgives
integral from 0 to 휋 , of sin of 푥 d 푥 equals 2
as one can see
like the Pythagorean theorem: \m {a^2 + b^2 = c^2}, or even with more
advanced
math like geometric series: \m {\sum_{k = 0}^{+\infty} x^k = 1/(1 - x)}?
We will not support complicated nonsense stuff like:
\startplaceformula
\startformula
F__{1}{2}(a,b;b;z) = (1 - z)^{-a}
\stopformula
\stopplaceformula
t,depth=\strutdp,offset=.250ex,color=red]
\definebar
[yourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=blue]
\definebar
[ourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=green]
\starttext
\startTEXpage[width=4cm]
\startformul
| www.pragma-ade.nl | www.pragma-pod.nl
-
inter-001.pdf
Description: Adobe PDF document
\definebar[mybar][inlined][offset=.25ex,color=red]
\starttext
\startformula
a \alignhere= b + c \breakhere
\myba
}
\breakhere
\stoptexdefinition
\protect
\starttext
\section{Old alignment}
\samplefile{knuth}
\placeformula\startformula\startalign
\NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+]
\intertext{\samplefile{knuth}}
]
[left={\startmathfenced[cases]},
right=\stopmathfenced,
align={1:right,2:left,3:left},
strut=yes]
\setupformula
[location=left]
\starttext
\samplefile{knuthmath}
\startplaceformula
\startformula
\startalignedcases
{knuthmath}\startplaceformula \startformula \startalignedcases \NC u'(t) - \nabla \cdot (a(x)\nabla u) + Vu \NC = 0 \NC \mtext{bla bla bla} \NR \NC u(x,0) \NC = u_0(x) \NC \mtext{bla bla} \NR \NC u(t,\sigma) \NC
lp me please?
>
>
> \starttyping
> 0! := 1
> (n + 1)! := (n + 1) n!
> \stoptyping
Or:
\startformula
\startalign[n=1,align={1:left}]
\NC 0! := 1\NR
\NC (n + 1)! := (n + 1) n!\NR
\stopalign
\stopformula
https://wiki.context
>
> I have this formular, but no idea , how to write it in Context. This is a
> formular with factorial.
>
>
> 0! := 1
> (n + 1)! := (n + 1) n!
>
> Can someone help me please?
\starttext
\startformula \startalign
\NC 0! \NC \colonequals 1 \NR
\NC (n+1)! \NC \co
> On 05/01/2024 14:27, Ursula Hermann wrote:
>
>> Can someone help me please?
>
>
> \starttyping
> 0! := 1
> (n + 1)! := (n + 1) n!
> \stoptyping
Or:
\startformula
\startalign[n=1,align={1:left}]
\NC 0! := 1\NR
\NC (n + 1)! := (n + 1) n!\NR
On Fri, 5 Jan 2024, Ursula Hermann wrote:
> Dear list,
>
>
> I have this formular, but no idea , how to write it in Context. This is a
> formular with factorial.
>
>
> 0! := 1
> (n + 1)! := (n + 1) n!
>
> Can someone help me please?
\starttext
\star
Hi,
On Mon, Dec 18, 2023 at 6:57 PM Dean Hung wrote:
>
> Hi ConText friends,
>
> I am trying to increase the vertical distance between the underbrace and the
> part of the equation above the underbrace.
>
> \startformula
> \underbrace{x+y+z}_{\blank[1cm]\mathrm{my te
t;>>
> >>> There are various solutions available for LaTex, and they require
> external
> >>> packages (e.g., BigStrut, vphantom) that redefine the strut height.
> >>>
> >>> I hope I'm missing something simple... Any help would be greatly
> &g
the part of the equation above the underbrace.
> >
> > \startformula
> > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}}
> > \stopformula
> >
> > I've tried using \blank and \vspace, but to no avail. For example:
> >
> > \underbrace{x+y+z}_{\bl
don't need any packages for simple stuff:
\startformula
\underbrace[mindepth=1cm]{x+y+z}_{\mathrm{my text here}}
\stopformula
Actually, realized that you want more distance in the other direction. One
option is to use \vrule.
\underbrace{x+y+z}_{\vrule width 0pt height 1cm\relax\mathrm{my text
y
> > appreciated!
>
> Hey, this is context. We don't need any packages for simple stuff:
>
> \startformula
> \underbrace[mindepth=1cm]{x+y+z}_{\mathrm{my text here}}
> \stopformula
Actually, realized that you want more distance in the other direction. One
option is to use
On Mon, 18 Dec 2023, Dean Hung wrote:
> Hi ConText friends,
>
> I am trying to increase the vertical distance between the underbrace and
> the part of the equation above the underbrace.
>
> \startformula
> \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}}
> \sto
Hi ConText friends,
I am trying to increase the vertical distance between the underbrace and
the part of the equation above the underbrace.
\startformula
\underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}}
\stopformula
I've tried using \blank and \vspace, but to no avail. For example
{} and
\tfrac{} ?
\frac switches the math style while \tfrac (textstyle), \dfrac
(displaystyle) and \sfrac (scriptstyle) enforce a certain style.
begin example
\startbuffer[frac]
\frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2}
\stopbuffer
\starttext
\startformula
\getbuffer[frac
gt; According to my recent tests, a mathalignment environment does not seem to
> react (any more) to the values of the "align" option.
> The source code hab been rendered correctly a few years ago,
>
> Minimal example 1:
>
> \starttext
> \startformula
> \startmathal
,
Minimal example 1:
\starttext
\startformula
\startmathalignment[n=2,align={left, right}]
\NC always aligned to the right \NC = u + at, \NR
\NC d \NC = ut + \frac12 at^2. \NR
\stopmathalignment
\stopformula
\stoptext
Despite "align={left, right}", the first column is aligned to the rig
On Fri, Nov 03, 2023 at 01:16:15PM +0100, Wolfgang Schuster wrote:
> > \starttext
> > Hello world!
> > \startformula
> > X(f) = \startcases[align={right,left},distance=3pt]
> > \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
> > \NC 0, \NC{} $|f|
+dfsg-2, several math
features seem to break for me. Here is an example:
\starttext
Hello world!
\startformula
X(f) = \startcases[align={right,left},distance=3pt]
\NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
\stopcases
\stopformula
\stoptext
There
n help me.
\starttext ... \stoptext is missing!
> This litte example is from the wiki, i wanted to try \placeformula
\starttext
> \placeformula[formula:aformula]
> \startformula
> y=x^2
> \stopformula
> \placeformula
> \startformula
> \int_0^1 x^2 dx
>
. Here is an example:
\starttext
Hello world!
\startformula
X(f) = \startcases[align={right,left},distance=3pt]
\NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
\stopcases
\stopformula
\stoptext
The above works very well in 2021.03.05.20230120+dfsg-1+deb1
On Fri, 3 Nov 2023, Ursula Hermann wrote:
> Dear List,
> i hope somone can help me.
\starttext ... \stoptext is missing!
> This litte example is from the wiki, i wanted to try \placeformula
\starttext
> \placeformula[formula:aformula]
> \startformula
> y=x^2
> \stopfo
Dear List,
i hope somone can help me.
This litte example is from the wiki, i wanted to try \placeformula
\placeformula[formula:aformula]
\startformula
y=x^2
\stopformula
\placeformula
\startformula
\int_0^1 x^2 dx
\stopformula
After compiling there is no PDF Page . But this:
Command Line
le:
>>
>> ConTeXt ver: 2023.09.26 18:19 LMTX
>>
>> \setupinteraction[state=start, color=black]
>>
>> \starttext
>>
>> \placeformula[eq:equation1]
>> \startformula
>> x
>> \stopformula
>>
>> References are red on the fi
software issue but it is
> still the same.
>
> Here is a minimal working example:
>
> ConTeXt ver: 2023.09.26 18:19 LMTX
>
> \setupinteraction[state=start, color=black]
>
> \starttext
>
> \placeformula[eq:equation1]
> \startformula
> x
> \stopformula
\setupinteraction[state=start, color=black]
\starttext
\placeformula[eq:equation1]
\startformula
x
\stopformula
References are red on the first page \in[eq:equation1]
\at{page}[eq:equation1]
\input tufte
\input tufte
\input tufte
\input tufte
\input tufte
Now they become black \in[eq:equation1] \at{page
with math notation) and to compute the
> trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6) = sqrt(3)/2
> and display it in math mode.
You can use templates to subtitute values into a string and then send that out
to be typeset.
For example: if you want to turn "sin(pi/4) = 1/2"
Hi,
On Thu, Sep 28, 2023 at 6:39 PM Aditya Mahajan wrote:
>
> Hi,
>
> The `align` parameter of `\setupformulas` is ignored in mathalign. Consider
> the following MWE:
>
> \setupformulas[align=flushleft,leftmargin=2em]
>
> \starttext
> \startformula
&
Hi,
The `align` parameter of `\setupformulas` is ignored in mathalign. Consider the
following MWE:
\setupformulas[align=flushleft,leftmargin=2em]
\starttext
\startformula
A = B
\stopformula
vs
\startformula \startalign
\NC A \NC B \NR
\NC A \NC B \NR
\stopalign \stopformula
\stoptext
2986: in
function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
1 \setupbodyfont[pagella]
2
3 \starttext
4 \startformula
5 \delta_{ij} =
6 \startmathcases
7 \NC 1 \NC \text{if } i = j \NR
8 \NC 0 \NC \text{otherwise} \NR
9
x/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
1 \setupbodyfont[pagella]
2
3 \starttext
4 \startformula
5 \delta_{ij} =
6 \startmathcases
7 \NC 1 \NC \text{if } i = j \NR
8 \NC 0 \NC \text{otherwise} \NR
9
xT. The problem seems to occur when using mathcases
> with some ConTeXt provided fonts, including pagella. This is a minimal not
> working example :
>
> \setupbodyfont[pagella]
>
> \starttext
> \startformula
> \delta_{ij} =
> \startmathcases
> \NC 1 \NC \text{if
\startformula
\delta_{ij} =
\startmathcases
\NC 1 \NC \text{if } i = j \NR
\NC 0 \NC \text{otherwise} \NR
\stopmathcases
\stopformula
\stoptext
The error is :
run callback [44]:
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index
is nil\nstack traceback:\n
...ext/tex/texmf
,
width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm]
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
My Question is , where to put margintext, with \dontleavethemode, with
blackrule, because if I put it after \starttext:
\margintext{\blackrule\\{Me}}\dontleavehmode\blackrule
}\blackrule[color=black, height=0.05ex, width=4cm]
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
My Question is , where to put margintext, with \dontleavethemode, with
blackrule, because if I put it after \starttext:
\margintext{\blackrule\\{Me}}\dontleavehmode\blackrule
Before :
\margintext
}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe --synctex=-1 "blackrule1.tex"
Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive
resolvers | formats | executing runner 'run luametatex format':
bruary 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe
; james-tanton-web}.
> \placeformula[eq:james-tanton-canvi-de-variables]
> \startformula
> \startalign
> \NC ax^2 + bx + c = 0 \NC \NR
> \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR
> \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR
> \NC x \left( x + \frac{
I have this text and the end of the paragraph:
Definitivament és el mètode més senzill. L'atribució més antiga que conec
d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau,
james-tanton-web}.
\placeformula[eq:james-tanton-canvi-de-variables]
\startformula
\startalign
\NC
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist:
> Hi,
>
> I do not understand what you want to have, so here is just something
> weird, but probably you look for simplealign.
>
> \definemathsimplealign
> [whatever]
>
> \starttext
> \startformu
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen:
> On 8/14/2023 1:16 PM, Gerion Entrup wrote:
> > Hi,
> >
> > I try to typeset a nested align in a formula. However, the results looks
> > really wrong. Here is a MWE:
> >
> > ```
> > \st
Hi,
I do not understand what you want to have, so here is just something
weird, but probably you look for simplealign.
\definemathsimplealign
[whatever]
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \mtext{with}\NR
\NC \NC \startwhatever
\NC b \NC = something \NR
\NC c \NC
On 8/14/2023 1:16 PM, Gerion Entrup wrote:
Hi,
I try to typeset a nested align in a formula. However, the results looks
really wrong. Here is a MWE:
```
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \text{with}\NR
\NC \NC \startalign
Hi,
I try to typeset a nested align in a formula. However, the results looks
really wrong. Here is a MWE:
```
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \text{with}\NR
\NC \NC \startalign
\NC b \NC
rizontal axis,
>> i.e. the 0 is far away from the integral sign:
>>
>>
>> \definefontfamily [mainface] [mm] [Fira Math]
>> \setupbodyfont[mainface]
>>
>> \starttext
>> \startformula
>> \int_0^1 e^x
>> \stopformula
>&g
t;
>
> \definefontfamily [mainface] [mm] [Fira Math]
> \setupbodyfont[mainface]
>
> \starttext
> \startformula
> \int_0^1 e^x
> \stopformula
> \stoptext
>
>
> Meanwhile, when I use LaTeX, the 0 is moved to the left and close to
> the integral sign:
>
>
Hi,
I'm trying to use Fira Math (https://github.com/firamath/firamath).
But this small example yields both limits on the same horizontal axis,
i.e. the 0 is far away from the integral sign:
\definefontfamily [mainface] [mm] [Fira Math]
\setupbodyfont[mainface]
\starttext
\startformula
nk to them within the main context document? In [2], I
found something maybe related but it requires a tuc file.
Example:
inner.tex:
```
\starttext
\startsection[title=References, reference=sec:ref]
Some text
\placeformula[eq:foo]
\startformula
1 + 2 = 3
\stopformula
or:
\startitemize[n]
ut \stopinnermath
> > \afterdisplayspace \egroup
> > \m_operator_text
> > \strc_formulas_place_number \strc_formulas_flush_number
> \dostarttagged \t!formulacontent \empty \dotagregisterformula
> \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative
> \v!f
t; > \strc_formulas_place_number \strc_formulas_flush_number
> > > \dostarttagged \t!formulacontent \empty \dotagregisterformula
> > > \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative
> > > \v!formula \endcsname
> > > \dostoptagged \dostoptagged
ulas_n \csname
> > \e!stop \formulaparameter \c!alternative \v!formula \endcsname
> > \dostoptagged \dostoptagged \nonoindentati
> >
> > \stopformula
> >
> > \startformula
> > \int_{\infty}
> > >> \stopformula
> >
> > Sor
ive \v!formula \endcsname
> \dostoptagged \dostoptagged \nonoindentati
>
> \stopformula
>
> \startformula
>
> \int_{\infty}
; \t!formulacontent \empty \dotagregisterformula \c_strc_formulas_n \csname
> \e!stop \formulaparameter \c!alternative \v!formula \endcsname
> \dostoptagged \dostoptagged \nonoindentati
>
> \stopformula
>
> \startformula
> \int_{\infty}
> >> \stopf
ged \nonoindentati
\stopformula
\startformula
\int_{\infty}
>> \st
Hi Gavin,
maybe you have solved your problem yet.
\startformula
{\null}^^{194}__{38}{\rm Sr}
or {\hbox{Xe}}^^{140}__{54}.
\stopformula
Better, ConTeXt way could be the variation on \chem:
\unexpanded\def\isotope#1#2#3{\dontleavehmode\begingroup\null\lohi[left]{#2}{#3}#1\endgroup}
\isotope{Sr
}}
\starttext
Reaction:
\startformula
\U{235} + n \rightarrow \Sr{94} + \Xe{140} + 2n
\stopformula
\stoptext
Since I will be writing many reactions with a dozen or so different atomic
symbols, it makes sense to create a command for each atomic symbol that adds
the correct atomic number and takes
Hi list,
I’m writing nuclear reactions. When add prescripts to atomic symbols with two
letters, (Be, Sr, Xe, etc.) the prescripts split the atoms! (See output below.)
\starttext
Text: \lohi[left]{4}{10}Be.
Reaction:
\startformula
{\rm U}^^{235}__{92} + n \rightarrow {\rm Sr}^^{94}__{38
which can be downloaded from
> https://fonts.google.com/noto/specimen/Noto+Sans+Math
>
> But I use it like the following
>
> \definefontfamily[myfonts][rm][latin modern roman]
> \definefontfamily[myfonts][mm][noto sans math]
> \setupbodyfont[myfonts,rm,12pt]
> \starttext
> Test
Test Noto Sasn Math Fonts
\startformula
a^2 \quad \sqrt{a}
\stopformula
\stoptext
I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0
is not set'.
Is there some method to solve it?
--
Best regards,
Li Yanrui
fc resizing in math mode
The only mention of anything similar happened back in 2009 (but then again this
was with mkii). There may be more similar issues in the list. I just didn't
have the time to look for it.
https://www.mail-archive.com/ntg-context@ntg.nl/msg40224.html
But anyhow, the follow
ed in
> modern explorative and daring math thesis. When symbols are
> really used, and
> we have proof of that, it should be possible to get them un
> \UNICODE, just
> like all these emoji. We welcome input and as an example of
> currently faked
> symbol
of currently faked
>symbols we added some to the distribution as easter eggs. One example:
>
>Mikael got contacted by a stressed student working on a thesis on
>probability. This student needed to typeset the characteristic function of
> a
>random variable \i
math]
\startformula
E[\ee^{\ii tX}] = \widerandomhat{f_{X}}(t)\mtp{,}
E[\ee^{\ii t(X_1+X_2)}] = \widerandomhat{f_{X_1} \ast
f_{X_2}}(t)\mtp{.}
\stopformula
Naturally, it is automatically scaled, just like the ordinary wide hat
\startformula
\widehat{a+b+c+d+e+f}
The {\darkgreen angle $\alpha$} is $30^\circ$ in the
example ($\pi/6$ in radians). The {\red sine of
$\alpha$}, which is the height of the red line, is
\startformula
cking the new binary. (Thanks, Günter!)
The x86_64-darwinlegacy from that download link version has fixed the problem
on the Mac. Thank-you all involved.
\starttext
\startformula
v = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
gives the attached.
—
via ntg-context wrote:
>>>> Hi List,
>>>> I’m getting strange spaces around some decimal points after a clean
>>>> LMTX
>>>> install. MWE:
>>>> \starttext
>>>> \startformula
>>>> v = \frac{1.32}{1.41
t;> Hi List,
>>> I’m getting strange spaces around some decimal points after a clean
>>> LMTX
>>> install. MWE:
>>> \starttext
>>> \startformula
>>> v = \frac{1.32}{1.41} = 0.935
>>> \stopformula
>>> \stoptext
>>>
:
Hi List,
I’m getting strange spaces around some decimal points after a
clean LMTX
install. MWE:
\starttext
\startformula
v = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
This produces the result attached below. The 1.32 looks fine,
but the next two
numbers have excess space around
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote:
Hi List,
I’m getting strange spaces around some decimal points after a clean LMTX
install. MWE:
\starttext
\startformula
v = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
This produces the result attached below. The 1.32 looks
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote:
Hi List,
I’m getting strange spaces around some decimal points after a clean LMTX
install. MWE:
\starttext
\startformula
v = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
This produces the result attached below. The 1.32 looks
es]
>
> \starttext
> \startformula
> \abs{v} = \frac{1.32}{1.41} = 0.935
> \stopformula
> \stoptext
>
> This causes an error, complaining that \abs is undefined. However, workes
> fine with
>
> ConTeXt ver: 2023.02.07 19:06 LMTX fmt: 2023.3.14 int: english/englis
Hi List,
The command \definemathfence seems to not be working as it did in other recent
LMTX. MWE:
\definemathfence[abs][bar][command=yes]
\starttext
\startformula
\abs{v} = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
This causes an error, complaining that \abs is undefined
Hi List,
I’m getting strange spaces around some decimal points after a clean LMTX
install. MWE:
\starttext
\startformula
v = \frac{1.32}{1.41} = 0.935
\stopformula
\stoptext
This produces the result attached below. The 1.32 looks fine, but the next two
numbers have excess space around
Hello Alexandre, thank you so much, this is precisely what I was looking for!
Cheers
Willi
> On 25 Mar 2023, at 18:28, Alexandre Christe via ntg-context
> wrote:
>
> Hi Willi,
>
> A dead simple solution would be
>
> \starttext
> \startformula
> {\f
Hi Willi,
A dead simple solution would be
\starttext
\startformula
{\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
{{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
\stopformula
\stoptext
Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <
.
In the setup of book there would be enough place, if I coud decrease the space
left and right of the ‘or’.
How can I achieve this?
Cheers
Willi
\starttext
\startformulas
\startformula[align=right]
{\frac{47 \times 62}{44 \times 56}} \times {12}
\stopformula
\startformula
ing at why my \registerunit attempt failed, I found that when you register
a unit, both your capitalization, and an all lowercase version are registered.
Here is an example, where I register “ReTeM” but \unit{1 retem} also works.
\starttext
\registerunit[unit][ReTeM=myunit]
\setupunittext[myun
ing now.
Looking at why my \registerunit attempt failed, I found that when you register
a unit, both your capitalization, and an all lowercase version are registered.
Here is an example, where I register “ReTeM” but \unit{1 retem} also works.
\starttext
\registerunit[unit][ReTeM=myunit]
\se
On 3/13/2023 10:55 PM, Gavin wrote:
On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context
wrote:
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
\startformula
\unit{3 meter} \qquad
\unit{6 Meter} \qquad
\unit{3 mEtEr} \qquad
\stopformula
Units with lowercase prefixes (c, k, n
> On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context
> wrote:
>
> On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
>> \startformula
>> \unit{3 meter} \qquad
>> \unit{6 Meter} \qquad
>> \unit{3 mEtEr} \qquad
>> \stopformula
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
\startformula
\unit{3 meter} \qquad
\unit{6 Meter} \qquad
\unit{3 mEtEr} \qquad
\stopformula
Units with lowercase prefixes (c, k, n).
\startformula
\unit{3cm} \qquad
\unit{6kg} \qquad
\unit{3ns} \qquad
\stopformula
Units
noticed
this bug two weeks ago, but could not produce a minimal example until now…
Please see below, in particular the output for the matrices M_1, M_2 and M_3…
Best regards: Otared
% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t
a minimal example until now…
Please see below, in particular the output for the matrices M_1, M_2 and M_3…
Best regards: Otared
% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t) := \thematrix{1 , {\rm e}^t},
\stopformula
\startformula
M_{2
below demonstrates the
behavior.
Obviously, I can use full names in my document. However, I would like the
standard SI symbols, which are single capital letters, to work for me and my
less TeX-savvy colaborators.
Thanks!
Gavin
\starttext
Units does not completely ignore case.
\startformula
:
Hi Hans, hi all,
the alignment of formulas seems broken:
\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula
Hi Hans,
Thank you very much for the new update.
Everything seem to work like a charm. In particular I played with the
\underbrace and \overbrace when adding something under the \underbrace, or
above the \overbrace, like in
\startformula
\overbrace{1+x^2+a}^{= -1} +
\underbrace{ax^2 + bx + c
]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula
Hi,
On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
wrote:
>
> Hi Hans, hi all,
>
> the alignment of formulas seems broken:
>
> \setuppapersize[A5]
> \starttext
> \setuplayout[textwidth=8cm]
> \setupformulas[align=left]
> \startformula c^2 = a^2 + b^2
Hi Hans, hi all,
the alignment of formulas seems broken:
\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas
gt;> 2. Why is the result after the equalsign in the denominator?
>> \starttext
>> \startformulas
>> \startformula
>>\bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12}
>> \stopformula
>> \startformula
>>{{47 \times 62 \times 1
the grouping with bracis, which gives the same result.
2. Why is the result after the equalsign in the denominator?
\starttext
\startformulas
\startformula
\bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12}
\stopformula
\startformula
{{47 \times 62
is the result after the equalsign in the denominator?
\starttext
\startformulas
\startformula
\bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12}
\stopformula
\startformula
{{47 \times 62 \times 12} \over {44 \times 56}}=14.2\ \rm kilo
\startformula
\sqrt{\frac{1}{2}}\dorecurse{15}{+\sqrt{\blackrule[width=10pt,height=#1pt,depth=#1pt,color=gray]}}
\stopformula
\startformula
\sqrt{\blackrule[width=10pt,height=100pt,depth=100pt,color=gray]}
\stopformula
\stoptext
It works in MKIV but it gives the following error in the latest LMTX
1 - 100 of 2216 matches
Mail list logo